/**
 * @author Fang Lu, fanglupku@gmail.com
 * 2012-2-9
 */
package com.autotag.entity;

import java.util.List;

public class Service {
	public final static int ABSTRACT_SERVICE = 1;
	public final static int DETAIL_SERVICE = 2;
	public final static int WSDLCACHED_SERVICE = 3;
	public final static int MAX_LENGTH_NAME = 255;
	public final static int MAX_LENGTH_REF_SEEKDA = 1023;
	public final static int MAX_LENGTH_PROVIDER_NAME = 255;
	public final static int MAX_LENGTH_WSDL = 1023;
	public final static String ERROR_PROVIDER_NAME = "000";
	public final static String ERROR_SERVICE_NAME = "000";
	public final static String BEGIN_REF_SEEKDA = "http://webservices.seekda.com/providers/";
	private int id;
	private String name;
	private String refSeekda;
	private String providerName;
	private String WSDL;
	private int status;
	private List<Tag> tagList;
	public Service(int id, String name, String refSeeka, 
			String providerName, String WSDL, int status, List<Tag> tagList){
		this.id = id;
		this.name = name;
		this.refSeekda = refSeeka;
		this.providerName = providerName;
		this.WSDL = WSDL;
		this.status = status;
		this.setTagList(tagList);
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRefSeekda() {
		return refSeekda;
	}
	public void setRefSeekda(String refSeekda) {
		this.refSeekda = refSeekda;
	}
	public String getProviderName() {
		return providerName;
	}
	public void setProviderName(String providerName) {
		this.providerName = providerName;
	}
	public String getWSDL() {
		return WSDL;
	}
	public void setWSDL(String wSDL) {
		WSDL = wSDL;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}

	public void setTagList(List<Tag> tagList) {
		this.tagList = tagList;
	}

	public List<Tag> getTagList() {
		return tagList;
	}
}
